using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace FinMkts.DataProvider.Internal.UnitTests
{
    [TestClass()]
    public class InternalPriceTest
    {
        /// <summary>
        ///A test for Errors
        ///</summary>
        [TestMethod()]
        public void extradata_is_initialized_to_empty_readonly_collection()
        {
            var target = new InternalPrice(); 
            Assert.IsNotNull(target.ExtraData);
            Assert.AreEqual(0, target.ExtraData.Count);
            Assert.IsTrue(target.ExtraData.IsReadOnly);
        }

    }
}